import {connect} from "react-redux" //将该组件变成容器组件
import Cart from "../component/Cart"
const mapState=state=>{
    return {
        state
    }
}
const mapDispatch=dispatch=>{
    return {
       log(){
            console.log('111');
        }
    }
}

export default connect (mapState,mapDispatch)(Cart)